package com.teemor.blog.api;

import com.teemor.blog.bean.dto.input.articletags.AddArticleTagsIPo;
import com.teemor.blog.bean.dto.input.articletags.QryArticleTagssIPo;
import com.teemor.blog.bean.dto.input.articletags.UpdArticleTagsIPo;
import com.teemor.blog.bean.dto.output.articletags.QryArticleTagsOPo;
import com.teemor.blog.bean.dto.output.articletags.QryArticleTagssOPo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import java.util.List;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author: zhoulk
 * @Description: 原子服务API接口
 * @date: 2020/03/14 18:00:12
 */
@Api(value = "原子服务API接口", description = "原子服务API接口")
@RequestMapping(value = "/articleTags")
public interface IArticleTagsApiService {
     /** 
   * @Function: com.teemor.blog.service.IArticleTagsApiService.qryArticleTagsById
   * @Description: 根据主键查询
   * @param: id
   * @return: QryArticleTagsOPo
   * @version: v1.0.0
   * @author: zhoulk
   * @date: 2020/03/14 18:00:12
   *
   * Modification History:
   * Date         author          Version            Description
   *------------------------------------------------------*
   * 2020/03/14 18:00:12     zhoulk           v1.0.0             修改原因
   *
   */
    @RequestMapping(value = "/qryArticleTags/{id}", method = RequestMethod.GET)
    @ApiOperation(value = "IArticleTagsApiService.qryArticleTags", notes = "根据主键查询接口 - zhoulk")
    QryArticleTagsOPo qryArticleTags(@PathVariable Integer id);

     /** 
   * @Function: com.teemor.blog.service.IArticleTagsService.countArticleTags
   * @Description: 统计条数
   * @param: inParam
   * @return: int
   * @version: v1.0.0
   * @author: zhoulk
   * @date: 2020/03/14 18:00:12
   *
   * Modification History:
   * Date         author          Version            Description
   *------------------------------------------------------*
   * 2020/03/14 18:00:12     zhoulk           v1.0.0             修改原因
   *
   */
    @RequestMapping(value = "/countArticleTags", method = RequestMethod.GET)
    @ApiOperation(value = "IArticleTagsApiService.countArticleTags", notes = "数量统计接口 - zhoulk")
    int countArticleTags(@RequestBody QryArticleTagssIPo inParam);

     /** 
   * @Function: com.teemor.blog.service.IArticleTagsService.qryArticleTagss
   * @Description: 查询列表
   * @param: inParam
   * @return: List<QryArticleTagssOPo>
   * @version: v1.0.0
   * @author: zhoulk
   * @date: 2020/03/14 18:00:12
   *
   * Modification History:
   * Date         author          Version            Description
   *------------------------------------------------------*
   * 2020/03/14 18:00:12     zhoulk           v1.0.0             修改原因
   *
   */
    @RequestMapping(value = "/qryArticleTagss", method = RequestMethod.GET)
    @ApiOperation(value = "IArticleTagsApiService.qryArticleTagss", notes = "列表查询接口 - zhoulk")
    List<QryArticleTagssOPo> qryArticleTagss(@RequestBody QryArticleTagssIPo inParam);

     /** 
   * @Function: com.teemor.blog.service.IArticleTagsService.updArticleTagsById
   * @Description: 根据ID更新
   * @param: inParam
   * @return: 
   * @version: v1.0.0
   * @author: zhoulk
   * @date: 2020/03/14 18:00:12
   *
   * Modification History:
   * Date         author          Version            Description
   *------------------------------------------------------*
   * 2020/03/14 18:00:12     zhoulk           v1.0.0             修改原因
   *
   */
    @RequestMapping(value = "/updArticleTags", method = RequestMethod.PUT)
    @ApiOperation(value = "IArticleTagsApiService.updArticleTags", notes = "根据主键更新接口 - zhoulk")
    void updArticleTags(@RequestBody UpdArticleTagsIPo inParam);

     /** 
   * @Function: com.teemor.blog.service.IArticleTagsService.addArticleTags
   * @Description: 新增接口
   * @param: inParam
   * @return: 
   * @version: v1.0.0
   * @author: zhoulk
   * @date: 2020/03/14 18:00:12
   *
   * Modification History:
   * Date         author          Version            Description
   *------------------------------------------------------*
   * 2020/03/14 18:00:12     zhoulk           v1.0.0             修改原因
   *
   */
    @RequestMapping(value = "addArticleTags", method = RequestMethod.POST)
    @ApiOperation(value = "IArticleTagsApiService.updArticleTags", notes = "新增接口 - zhoulk")
    void addArticleTags(@RequestBody AddArticleTagsIPo inParam);
}